﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Foundation.Entity;

#nullable disable

namespace Dyao.Book.Entity
{
    [Table("DataTaskCenterRule")]
    public partial class TaskCenterRuleEntity : BaseEntity<int>, ICreateUserName, ICreateOn, IUpdateUserName, IUpdateOn
    {
        /// <summary>
        /// 规则名称
        /// </summary>
        [StringLength(100)]
        public string RuleKey { get; set; }

        /// <summary>
        /// 应用程序标识，用于区别数据所属系统'
        /// </summary>
        public string AppKey { get; set; }

        /// <summary>
        /// 规则名称
        /// </summary>
        [StringLength(100)]
        public string Name { get; set; }

        /// <summary>
        /// 规则配置
        /// </summary>
        public string RuleSettings { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string Remark { get; set; }

        [Required]
        [StringLength(50)]
        public string CreateUserName { get; set; }

        public DateTime CreateDateTime { get; set; }

        [Required]
        [StringLength(50)]
        public string UpdateUserName { get; set; }

        public DateTime UpdateDateTime { get; set; }

    }
}
